home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows News 2010 Summer - Disc 1
/
WN_Ete2010_CD1.iso
/
Onglet5
/
Weezo
/
Weezo setup.exe
/
{code_appDir}
/
www
/
includes
/
updateScript.php
< prev
next >
Wrap
PHP Script
|
2010-05-19
|
458b
|
16 lines
<?php
// V1.X => V2.0+ update script
// Upgrade connections database (browsers login support)
dbCreateDB();
dbUpgrade();
// Upgrade ffmpeg version (from 1st GPL version to 2.0 version)
if(@cfFileSize(cfAppBinDir().'/ffmpeg/weezoFfmpeg.exe')==8295936) {
// Ask UI to display ffmpeg load script
cfServerSendCommand('executeScript script="/local/loadFfmpeg.php?silentInstall=1"');
}
// Unlink script
@unlink(cfAppDocRoot().'/includes/updateScript.php');
?>